#include "namedPipe.hpp"

// write
int main()
{
    NamePipe fifo(comm_path, User);
    if (fifo.OpenForWrite())
    {
        cout << "Client named pipe done!" << endl;

        while (true)
        {
            cout << "Please Enter>" << endl;
            string massage;
            getline(cin, massage);
            fifo.WriteNamePipe(massage);
        }
    }
    return 0;
}